package com.xpertline.ui.config;

import javax.swing.JPanel;
import java.awt.GridBagLayout;
import javax.swing.JLabel;
import java.awt.GridBagConstraints;
import javax.swing.JTextField;
import java.awt.Insets;
import java.awt.Component;
import javax.swing.Box;

public class WebsitePane extends JPanel {
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField textField_3;
	private JTextField textField_4;
	private JTextField textField_5;
	private JTextField textField_6;

	/**
	 * Create the panel.
	 */
	public WebsitePane() {
		GridBagLayout gridBagLayout = new GridBagLayout();
		gridBagLayout.columnWidths = new int[]{0, 0, 0, 0};
		gridBagLayout.rowHeights = new int[]{0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
		gridBagLayout.columnWeights = new double[]{0.0, 0.0, 1.0, Double.MIN_VALUE};
		gridBagLayout.rowWeights = new double[]{0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, Double.MIN_VALUE};
		setLayout(gridBagLayout);
		
		Component verticalStrut = Box.createVerticalStrut(20);
		GridBagConstraints gbc_verticalStrut = new GridBagConstraints();
		gbc_verticalStrut.insets = new Insets(0, 0, 5, 5);
		gbc_verticalStrut.gridx = 1;
		gbc_verticalStrut.gridy = 0;
		add(verticalStrut, gbc_verticalStrut);
		
		Component horizontalStrut = Box.createHorizontalStrut(20);
		GridBagConstraints gbc_horizontalStrut = new GridBagConstraints();
		gbc_horizontalStrut.insets = new Insets(0, 0, 5, 5);
		gbc_horizontalStrut.gridx = 0;
		gbc_horizontalStrut.gridy = 1;
		add(horizontalStrut, gbc_horizontalStrut);
		
		JLabel lblFptHost = new JLabel("FPT Host");
		GridBagConstraints gbc_lblFptHost = new GridBagConstraints();
		gbc_lblFptHost.insets = new Insets(0, 0, 5, 5);
		gbc_lblFptHost.anchor = GridBagConstraints.EAST;
		gbc_lblFptHost.gridx = 1;
		gbc_lblFptHost.gridy = 1;
		add(lblFptHost, gbc_lblFptHost);
		
		textField = new JTextField();
		GridBagConstraints gbc_textField = new GridBagConstraints();
		gbc_textField.anchor = GridBagConstraints.WEST;
		gbc_textField.insets = new Insets(0, 0, 5, 0);
		gbc_textField.gridx = 2;
		gbc_textField.gridy = 1;
		add(textField, gbc_textField);
		textField.setColumns(50);
		
		JLabel lblFptUser = new JLabel("FPT User");
		GridBagConstraints gbc_lblFptUser = new GridBagConstraints();
		gbc_lblFptUser.anchor = GridBagConstraints.EAST;
		gbc_lblFptUser.insets = new Insets(0, 0, 5, 5);
		gbc_lblFptUser.gridx = 1;
		gbc_lblFptUser.gridy = 2;
		add(lblFptUser, gbc_lblFptUser);
		
		textField_1 = new JTextField();
		GridBagConstraints gbc_textField_1 = new GridBagConstraints();
		gbc_textField_1.anchor = GridBagConstraints.WEST;
		gbc_textField_1.insets = new Insets(0, 0, 5, 0);
		gbc_textField_1.gridx = 2;
		gbc_textField_1.gridy = 2;
		add(textField_1, gbc_textField_1);
		textField_1.setColumns(30);
		
		JLabel lblFptPassword = new JLabel("FPT Password");
		GridBagConstraints gbc_lblFptPassword = new GridBagConstraints();
		gbc_lblFptPassword.anchor = GridBagConstraints.EAST;
		gbc_lblFptPassword.insets = new Insets(0, 0, 5, 5);
		gbc_lblFptPassword.gridx = 1;
		gbc_lblFptPassword.gridy = 3;
		add(lblFptPassword, gbc_lblFptPassword);
		
		textField_2 = new JTextField();
		GridBagConstraints gbc_textField_2 = new GridBagConstraints();
		gbc_textField_2.anchor = GridBagConstraints.WEST;
		gbc_textField_2.insets = new Insets(0, 0, 5, 0);
		gbc_textField_2.gridx = 2;
		gbc_textField_2.gridy = 3;
		add(textField_2, gbc_textField_2);
		textField_2.setColumns(30);
		
		JLabel lblNewLabel = new JLabel("FPT Directory");
		GridBagConstraints gbc_lblNewLabel = new GridBagConstraints();
		gbc_lblNewLabel.anchor = GridBagConstraints.EAST;
		gbc_lblNewLabel.insets = new Insets(0, 0, 5, 5);
		gbc_lblNewLabel.gridx = 1;
		gbc_lblNewLabel.gridy = 5;
		add(lblNewLabel, gbc_lblNewLabel);
		
		textField_3 = new JTextField();
		textField_3.setColumns(50);
		GridBagConstraints gbc_textField_3 = new GridBagConstraints();
		gbc_textField_3.anchor = GridBagConstraints.WEST;
		gbc_textField_3.insets = new Insets(0, 0, 5, 0);
		gbc_textField_3.gridx = 2;
		gbc_textField_3.gridy = 5;
		add(textField_3, gbc_textField_3);
		
		JLabel lblEmailGui = new JLabel("Email gui");
		GridBagConstraints gbc_lblEmailGui = new GridBagConstraints();
		gbc_lblEmailGui.anchor = GridBagConstraints.EAST;
		gbc_lblEmailGui.insets = new Insets(0, 0, 5, 5);
		gbc_lblEmailGui.gridx = 1;
		gbc_lblEmailGui.gridy = 6;
		add(lblEmailGui, gbc_lblEmailGui);
		
		textField_4 = new JTextField();
		textField_4.setColumns(50);
		GridBagConstraints gbc_textField_4 = new GridBagConstraints();
		gbc_textField_4.anchor = GridBagConstraints.WEST;
		gbc_textField_4.insets = new Insets(0, 0, 5, 0);
		gbc_textField_4.gridx = 2;
		gbc_textField_4.gridy = 6;
		add(textField_4, gbc_textField_4);
		
		JLabel lblEmailNhan = new JLabel("Email nhan");
		GridBagConstraints gbc_lblEmailNhan = new GridBagConstraints();
		gbc_lblEmailNhan.anchor = GridBagConstraints.EAST;
		gbc_lblEmailNhan.insets = new Insets(0, 0, 5, 5);
		gbc_lblEmailNhan.gridx = 1;
		gbc_lblEmailNhan.gridy = 7;
		add(lblEmailNhan, gbc_lblEmailNhan);
		
		textField_5 = new JTextField();
		textField_5.setColumns(50);
		GridBagConstraints gbc_textField_5 = new GridBagConstraints();
		gbc_textField_5.anchor = GridBagConstraints.WEST;
		gbc_textField_5.insets = new Insets(0, 0, 5, 0);
		gbc_textField_5.gridx = 2;
		gbc_textField_5.gridy = 7;
		add(textField_5, gbc_textField_5);
		
		JLabel lblBase = new JLabel("Base");
		GridBagConstraints gbc_lblBase = new GridBagConstraints();
		gbc_lblBase.anchor = GridBagConstraints.EAST;
		gbc_lblBase.insets = new Insets(0, 0, 0, 5);
		gbc_lblBase.gridx = 1;
		gbc_lblBase.gridy = 8;
		add(lblBase, gbc_lblBase);
		
		textField_6 = new JTextField();
		textField_6.setColumns(50);
		GridBagConstraints gbc_textField_6 = new GridBagConstraints();
		gbc_textField_6.anchor = GridBagConstraints.WEST;
		gbc_textField_6.gridx = 2;
		gbc_textField_6.gridy = 8;
		add(textField_6, gbc_textField_6);

	}

}
